package com.bjsxt.livegoods.buytime.client.service.impl;

import com.bjsxt.livegoods.buytime.client.service.BuytimeService;
import org.springframework.stereotype.Service;

import java.util.HashMap;
import java.util.Map;

@Service
public class BuytimeServiceImpl implements BuytimeService {
    @Override
    public Map<String, Object> buytime(String id) {
        Map<String,Object> result=new HashMap<>();
        result.put("status",200);
        result.put("time",System.currentTimeMillis()+(365*24*60*60*1000));
        return result;
    }
}
